package com.example.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.example.dao.UserAdminDao;
import com.example.pojo.UserAdmin;
import com.example.service.UserAdminService;
import org.springframework.beans.factory.annotation.Autowired;

@Service(interfaceClass = UserAdminService.class)
public class UserAdminServiceImpl implements UserAdminService {
    @Autowired
    private UserAdminDao userAdminDao;
    @Override
    public UserAdmin findUserByUsername(String username) {
        return userAdminDao.findUserByUserName(username);
    }
}
